package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class RelevantagreementFactory
{
    private RelevantagreementFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagreement getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagreement)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("3D5D7458") ,com.kingdee.eas.minghua.contract.IRelevantagreement.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IRelevantagreement getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagreement)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("3D5D7458") ,com.kingdee.eas.minghua.contract.IRelevantagreement.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagreement getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagreement)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("3D5D7458"));
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagreement getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagreement)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("3D5D7458"));
    }
}